package com.gotokeep.keep.composition;

import android.media.MediaCodec;

import java.nio.ByteBuffer;

/**
 * @author xana/cuixianming
 * @version 1.0
 * @since 2018/5/4 23:09
 */
public interface RenderSink {
    class VideoSink {
        public int textureType;
        public int textureId;
    }

    void writeAudioData(ByteBuffer decodedData, MediaCodec.BufferInfo bufferInfo);

    VideoSink getVideoInputInfo();

    void notifyVideoFrameAvailable();
}
